package com.example.management.common.dao

import com.example.management.common.domain.FileDO
import org.apache.ibatis.annotations.Mapper


@Mapper
interface FileDao {

    operator fun get(id: Long?): FileDO

    fun list(map: Map<String, Any>): List<FileDO>

    fun count(map: Map<String, Any>): Int

    fun save(file: FileDO): Int

    fun update(file: FileDO): Int

    fun remove(id: Long?): Int

    fun batchRemove(ids: Array<Long>): Int
}
